package com.hnxxxy.jfmgr.controller;

import com.hnxxxy.common.annotation.LogAnno;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author：张浩东
 * @Phone：15096207164
 * @QQ：1367048164
 * @E-mail：1367048164@qq.com
 * @date:2020-05-19 16:33
 */

@RequestMapping("/jf")
@Controller
@Slf4j
public class JfPageController {

    @GetMapping("/addTestimonials")
    @LogAnno(description = "添加奖状页面")
    public String addTestimonials(Model model){
        return "/jfmgr/addTestimonials";
    }

    @GetMapping("/toUserTestimonialsStatus")
    @LogAnno(description = "奖状上传状态页面")
    public String userTestimonialsStatus(Model model){
        return "/jfmgr/userTestimonialsStatus";
    }

    @GetMapping("/toUserTestimonials")
    @LogAnno(description = "奖状上传状态页面")
    public String userTestimonials(Model model){
        return "/jfmgr/userTestimonials";
    }

    @GetMapping("/toTestimonialsAudit")
    @LogAnno(description = "奖状上传状态页面")
    public String testimonialsAudit(Model model){
        return "/jfmgr/testimonialsAudit";
    }
}
